package GenericNRMSystem;
/**
 * Generated from IDL enum "SignTransMediaType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SignTransMediaType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _Optic = 0;
	public static final SignTransMediaType Optic = new SignTransMediaType(_Optic);
	public static final int _Electic = 1;
	public static final SignTransMediaType Electic = new SignTransMediaType(_Electic);
	public int value()
	{
		return value;
	}
	public static SignTransMediaType from_int(int value)
	{
		switch (value) {
			case _Optic: return Optic;
			case _Electic: return Electic;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _Optic: return "Optic";
			case _Electic: return "Electic";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected SignTransMediaType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
